package com.scedu.domain;

import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

@Entity
@Data
@DynamicUpdate
@DynamicInsert
public class SellerInfo {
    @Id
    private String sellerId;
    private  String username;
    private  String password;
    private  String openid;
    private Date createTime;
    private  Date  updateTime;

    public SellerInfo() {
    }

    public SellerInfo(String sellerId, String username, String password, String openid) {
        this.sellerId = sellerId;
        this.username = username;
        this.password = password;
        this.openid = openid;
    }
}
